package org.jeecg.modules.iot.model.socket;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;
@Data
public class DeviceHeartbeatData {
    @JsonProperty("DEVICE")
    private String deviceCode;

    @JsonProperty("CMD")
    private int cmd;

    @JsonProperty("RSSI")
    private int rssi;

    @JsonProperty("TEMP")
    private int temp;

    @JsonProperty("ALLDATA")
    private List<PortData> allData;

    @JsonProperty("SEQ")
    private String seq;

    @JsonProperty("SERVERPASS")
    private String serverPass; // 添加 SERVERPASS 字段
}
